/*
package com.wang.rabbitmq.springboot;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

*/
/**
 * @author: wang
 * @date: 2021/8/4 10:54
 * @description:
 *//*

@Component
public class TopicSent {

    @Resource
    private AmqpTemplate amqpTemplate;

    public void sentTopic(){
        amqpTemplate.convertAndSend("topicExchange", "a", "a");
        amqpTemplate.convertAndSend("topicExchange", "a.b", "a.b");
        amqpTemplate.convertAndSend("topicExchange", "a.b.c", "a.b.c");
    }

}
*/
